import ReactDOM from 'react-dom'
// import { BrowserRouter, HashRouter } from 'react-router-dom'
import { HashRouter } from 'react-router-dom'
import 'antd/dist/antd.less'
// import 'antd/dist/antd.css'
import App from './App'
import '@/styles/index.less'
import './index.css'

// 由于 antd 组件的默认文案是英文，所以需要修改为中文
// import zhCN from 'antd/lib/locale/zh_CN'
// import moment from 'moment'
// import 'moment/locale/zh-cn'
// import 'antd/dist/antd.css'
// moment.locale('zh-cn')


ReactDOM.render(
  // <React.StrictMode>
  // <BrowserRouter>
  //   <App />
  // </BrowserRouter>,
  <HashRouter>
    <App/>
  </HashRouter>,
  // </React.StrictMode>,
  document.getElementById('root')
)
